package net.studou.po;

import java.util.Date;

/**
 * Iolog entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class IoLog implements java.io.Serializable {

	public static final int TYPE_RECHARGE = 1;
	public static final int TYPE_EXTRACT = 2;
	public static final int TYPE_PUBLISH_TASK = 3;
	public static final int TYPE_DELETE_TASK = 4;
	public static final int TYPE_BUY_POINT = 5;
	public static final int TYPE_SALE_POINT = 6;
	public static final int TYPE_EXTRACT_ERROR = 7;
	public static final int TYPE_TASK_DONE = 8;
	public static final int TYPE_SALE_VIP = 9;

	public static final int STATUS_WAIT = 1; // 等待
	public static final int STATUS_PASS = 2; // 通过
	public static final int STATUS_REJECT = 3; // 驳回

	private static final long serialVersionUID = -4858970505031990317L;
	private Integer ioId;
	private User user;
	private String ioNo;
	private Integer ioType;
	private Double money;
	private Double ago;
	private Double after;
	private Date createTime;
	private Integer status;
	private String details;
	private String tbUrl;
	private String qq;
	private String realName;
	private Integer version;

	// 以下属性没有和数据库对应，只是查询用
	private Date begin;
	private Date end;

	public Integer getIoId() {
		return this.ioId;
	}

	public void setIoId(Integer ioId) {
		this.ioId = ioId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getIoNo() {
		return this.ioNo;
	}

	public void setIoNo(String ioNo) {
		this.ioNo = ioNo;
	}

	public Integer getIoType() {
		return this.ioType;
	}

	public void setIoType(Integer ioType) {
		this.ioType = ioType;
	}

	public Double getMoney() {
		return this.money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public Double getAgo() {
		return this.ago;
	}

	public void setAgo(Double ago) {
		this.ago = ago;
	}

	public Double getAfter() {
		return this.after;
	}

	public void setAfter(Double after) {
		this.after = after;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getDetails() {
		return this.details;
	}

	public void setDetails(String details) {
		this.details = details;
	}

	public String getTbUrl() {
		return this.tbUrl;
	}

	public void setTbUrl(String tbUrl) {
		this.tbUrl = tbUrl;
	}

	public String getQq() {
		return this.qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getRealName() {
		return this.realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public Integer getVersion() {
		return this.version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public Date getBegin() {
		return begin;
	}

	public void setBegin(Date begin) {
		this.begin = begin;
	}

	public Date getEnd() {
		return end;
	}

	public void setEnd(Date end) {
		this.end = end;
	}

}